/**
 * Filter
 * Censors bad words.
 *
 * Cassie Chin, Stephen Smetana, Logan Widick
 * CSCE 3530 Program 2
 */

#include <stdio.h>

typedef struct Filter Filter;

/**
 * Initializes a filter.
 *
 * @param fp A file containing each word to filter. Each word is on a separate line.
 */
Filter *new_Filter(FILE *fp);

/**
 * Deletes the filter.
 *
 * @param filter The filter to delete.
 */
void delete_Filter (Filter *filter);
 
/**
 * Prints each uncensored and censored string.
 *
 * @param filter The filter to print out.
 */
void print (Filter *filter);
